package com.mine.androidlearn.tempmvp;

import android.content.Context;

import com.mine.androidlearn.common.base.BasePresenter;

/**
 *  测试mvp用
 *
 * @author mine
 * @version V1.0 2018/8/5 16:21
 */
public class MainPresenter extends BasePresenter<IMainContract.view> implements IMainContract.presenter {


    MainPresenter(Context context) {
        super(context);
    }


    @Override
    public void login(String name, String psw) {
            getView().loginSuccess();
    }
}
